
function initControlPanel() {
	cprint("init control panel");
	ControlPanel._theControlPanel = new ControlPanel();
}

function initCanvas() {
	cprint("init canvas");
	Canvas._theCanvas = new Canvas();
}

function escapeHtml(str) {
	return str.split("<").join("&lt;").split(">").join("&gt;");
}
